const net/http.http2NextProtoTLS
10 uses
net/http (current package)
h2_bundle.go#L3524: http2NextProtoTLS = "h2"
h2_bundle.go#L4277: if !http2strSliceContains(s.TLSConfig.NextProtos, http2NextProtoTLS) {
h2_bundle.go#L4278: s.TLSConfig.NextProtos = append(s.TLSConfig.NextProtos, http2NextProtoTLS)
h2_bundle.go#L4310: s.TLSNextProto[http2NextProtoTLS] = func(hs *Server, c *tls.Conn, h Handler) {
h2_bundle.go#L7565: t1.TLSNextProto[http2NextProtoTLS] = func(authority string, c *tls.Conn) RoundTripper {
h2_bundle.go#L8035: if !http2strSliceContains(cfg.NextProtos, http2NextProtoTLS) {
h2_bundle.go#L8036: cfg.NextProtos = append([]string{http2NextProtoTLS}, cfg.NextProtos...)
h2_bundle.go#L8056: if p := state.NegotiatedProtocol; p != http2NextProtoTLS {
h2_bundle.go#L8057: return nil, fmt.Errorf("http2: unexpected ALPN protocol %q; want %q", p, http2NextProtoTLS)
server.go#L3387: return slices.Contains(s.TLSConfig.NextProtos, http2NextProtoTLS)
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |